import { Get } from '@/utils/request.ts'
import { respLecturerData } from '@/pages/course/api/types/lecturer'

enum API {
  // 获取讲师列表
  LECTURER_DATA_URL = '/edu/user/admin/lecturer/view',
}

//获取讲师信息
export const reqGetLecturerData = (id: string) =>
  Get<respLecturerData>(API.LECTURER_DATA_URL + '?id=' + id)
